Skip to main content

RootTree

RootTree[tree] returns the root node of tree as a Tree object.

RootTree[tree,n] returns a Tree object containing the nodes of tree down to level n.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.